package GUI;

import java.awt.EventQueue;

import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JSeparator;
import java.awt.BorderLayout;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import java.awt.Color;
import javax.swing.SwingConstants;
import java.awt.Font;
import javax.swing.JFormattedTextField;
import javax.swing.JPasswordField;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;



/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class FrameLogin extends JPanel {
	private JTextField textField;
	private JTextField textField_1;
	private final JTextField txtName = new JTextField();
	private JPasswordField passwordField;

	/**
	 * Create the frame.
	 */
	public FrameLogin() {
		this.setBounds(0, 0, 513, 378);
		setLayout(null);
		this.setPreferredSize(new java.awt.Dimension(535, 368));

		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(6, 6, 502, 362);
		add(scrollPane);
		
		JPanel panel = new JPanel();
		panel.setBackground(new Color(173, 216, 230));
		scrollPane.setViewportView(panel);
		panel.setLayout(null);
		
		JLabel lblUsuario = new JLabel("USUARIO");
		lblUsuario.setFont(new Font("Verdana", Font.BOLD | Font.ITALIC, 16));
		lblUsuario.setBounds(37, 110, 92, 16);
		lblUsuario.setHorizontalAlignment(SwingConstants.LEFT);
		panel.add(lblUsuario);
		txtName.setBounds(185, 106, 122, 28);
		panel.add(txtName);
		txtName.setColumns(10);
		
		JLabel lblContrasea = new JLabel("CONTRASE\u00D1A");
		lblContrasea.setHorizontalAlignment(SwingConstants.LEFT);
		lblContrasea.setFont(new Font("Verdana", Font.BOLD | Font.ITALIC, 16));
		lblContrasea.setBounds(37, 165, 128, 16);
		panel.add(lblContrasea);
		
		JButton btnEntrar = new JButton("ENTRAR");
		btnEntrar.setBounds(75, 218, 122, 28);
		panel.add(btnEntrar);
		
		passwordField = new JPasswordField();
		passwordField.setBounds(185, 161, 122, 28);
		panel.add(passwordField);
		
		JButton btnCancelar = new JButton("CANCELAR");
		btnCancelar.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnCancelar.setBounds(220, 218, 122, 28);
		panel.add(btnCancelar);
		
	
	}
}
